package cn.iocoder.yudao.module.biz.controller.admin.customer.serviceUnit.vo;

import cn.iocoder.yudao.framework.mybatis.core.type.StringListTypeHandler;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 客户档案-服务单元管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ServiceUnitRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30564")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "服务单元名称", example = "赵六")
    @ExcelProperty("服务单元名称")
    private String name;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private Long belongDepart;

    @Schema(description = "服务类型")
    @ExcelProperty("服务类型")
    @TableField(typeHandler = StringListTypeHandler.class)
    private List<String> serviceType;

    @Schema(description = "是否测试单元")
    @ExcelProperty("是否测试单元")
    private String isTestUnit;

    @Schema(description = "是否发起收款任务")
    @ExcelProperty("是否发起收款任务")
    private String isReceiveMoney;

    @Schema(description = "运维类合同收款负责人类型", example = "2")
    @ExcelProperty("运维类合同收款负责人类型")
    private String receiveMoneyType;

    @Schema(description = "服务区域")
    @ExcelProperty("服务区域")
    private String serviceArea;

    @Schema(description = "驻点地址")
    @ExcelProperty("驻点地址")
    private String address;

    @Schema(description = "经度")
    @ExcelProperty("经度")
    private Double lng;

    @Schema(description = "纬度")
    @ExcelProperty("纬度")
    private Double lat;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @ExcelProperty("修改时间")
    private LocalDateTime updateTime;

    @Schema(description = "负责人id", example = "16255")
    @ExcelProperty("负责人id")
    private Long ownerUserId;

}